package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaTrainUser;
import com.qike.duola.domain.DuolaTrainUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaTrainUserMapper {
    long countByExample(DuolaTrainUserExample example);

    int deleteByExample(DuolaTrainUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaTrainUser record);

    int insertSelective(DuolaTrainUser record);

    List<DuolaTrainUser> selectByExample(DuolaTrainUserExample example);

    DuolaTrainUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaTrainUser record, @Param("example") DuolaTrainUserExample example);

    int updateByExample(@Param("record") DuolaTrainUser record, @Param("example") DuolaTrainUserExample example);

    int updateByPrimaryKeySelective(DuolaTrainUser record);

    int updateByPrimaryKey(DuolaTrainUser record);
}